package com.itheima.pinda.DTO.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 角色组织关系
 * </p>
 *
 * @author xsf
 * @since 2021-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PdAuthRoleOrg extends Model<PdAuthRoleOrg> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 角色ID
#c_auth_role
     */
    private Long roleId;

    /**
     * 部门ID
#c_core_org
     */
    private Long orgId;

    private LocalDateTime createTime;

    private Long createUser;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
